package net.skystudio.es.service;

import net.skystudio.es.common.PageBean;
import net.skystudio.es.entity.ItemDesc;

import java.util.List;

public interface ItemDescService {

    /**
     * 索引名称
     */
    String INDEX_NAME = "tb_item_desc";

    /**
     * 文档主键名称
     */
    String ID_NAME = "id";

    List<ItemDesc> findBySearch(String key);

    PageBean<ItemDesc> pageQuery(Integer page, Integer size, String key);

}
